package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.RideCancellationTriggerBy;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class DesignatedCallRideCancellation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long rideId;
    private Long customerId;
    private Long driverId;
    private RideCancellationTriggerBy triggerBy;
    private BigDecimal penalty;
    private Date createdAt;
    private Date updatedAt;

}
